border-radius: 0 for colorswatch overlay as well.
button.color {
padding: 5px; // Uniform padding on the GtkColorButton
- colorswatch:first-child:last-child { // :first-child:last-child for a specificity bump, it gets overridden by the
- // colorpicker style, otherwise
- border-radius: 0;
+ > colorswatch:first-child:last-child { // :first-child:last-child for a specificity bump, it gets overridden by the colorchooser style
+ > overlay, & { border-radius: 0; }
box-shadow: inset 0 1px 1px transparentize(black, 0.9),
_widget_edge();
&:insensitive,
button.color, headerbar button.color.titlebutton,
.titlebar button.color.titlebutton {
padding: 5px; }
- button.color colorswatch:first-child:last-child {
- border-radius: 0;
+ button.color > colorswatch:first-child:last-child, headerbar button.color.titlebutton > colorswatch:first-child:last-child,
+ .titlebar button.color.titlebutton > colorswatch:first-child:last-child {
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px rgba(238, 238, 236, 0.1); }
- button.color colorswatch:first-child:last-child:insensitive, button.color colorswatch:first-child:last-child:backdrop {
+ button.color > colorswatch:first-child:last-child > overlay, button.color > colorswatch:first-child:last-child, headerbar button.color.titlebutton > colorswatch:first-child:last-child,
+ .titlebar button.color.titlebutton > colorswatch:first-child:last-child {
+ border-radius: 0; }
+ button.color > colorswatch:first-child:last-child:insensitive, headerbar button.color.titlebutton > colorswatch:first-child:last-child:insensitive,
+ .titlebar button.color.titlebutton > colorswatch:first-child:last-child:insensitive, button.color > colorswatch:first-child:last-child:backdrop, headerbar button.color.titlebutton > colorswatch:first-child:last-child:backdrop,
+ .titlebar button.color.titlebutton > colorswatch:first-child:last-child:backdrop {
box-shadow: none; }
/*********
button.color, headerbar button.color.titlebutton,
.titlebar button.color.titlebutton {
padding: 5px; }
- button.color colorswatch:first-child:last-child {
- border-radius: 0;
+ button.color > colorswatch:first-child:last-child, headerbar button.color.titlebutton > colorswatch:first-child:last-child,
+ .titlebar button.color.titlebutton > colorswatch:first-child:last-child {
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px white; }
- button.color colorswatch:first-child:last-child:insensitive, button.color colorswatch:first-child:last-child:backdrop {
+ button.color > colorswatch:first-child:last-child > overlay, button.color > colorswatch:first-child:last-child, headerbar button.color.titlebutton > colorswatch:first-child:last-child,
+ .titlebar button.color.titlebutton > colorswatch:first-child:last-child {
+ border-radius: 0; }
+ button.color > colorswatch:first-child:last-child:insensitive, headerbar button.color.titlebutton > colorswatch:first-child:last-child:insensitive,
+ .titlebar button.color.titlebutton > colorswatch:first-child:last-child:insensitive, button.color > colorswatch:first-child:last-child:backdrop, headerbar button.color.titlebutton > colorswatch:first-child:last-child:backdrop,
+ .titlebar button.color.titlebutton > colorswatch:first-child:last-child:backdrop {
box-shadow: none; }
/*********